@echo off
chcp 65001 >nul
echo 设置PowerShell为中文显示...
set LC_ALL=zh_CN.UTF-8
set LANG=zh_CN.UTF-8
start powershell -NoExit -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = 'zh-CN'; [System.Threading.Thread]::CurrentThread.CurrentUICulture = 'zh-CN'; $OutputEncoding = [System.Text.Encoding]::UTF8; Write-Host 'PowerShell已切换为中文显示' -ForegroundColor Green; Write-Host 'Git命令将使用中文输出' -ForegroundColor Yellow"
echo 中文PowerShell终端已启动！